package com.erp.coupon;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients(basePackages ="com.erp.coupon.feign")
@EnableDiscoveryClient // 允许服务发现
@SpringBootApplication
public class ErpCouponApplication {

    public static void main(String[] args) {
        SpringApplication.run(ErpCouponApplication.class, args);
    }

}
